package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 电召区域映射表
 * </p>
 *
 * @author Dell
 * @since 2021-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "SimpleCallAreaMapping对象", description = "电召区域映射表")
public class SimpleCallAreaMapping implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "区域Id")
    private Long areaId;

    @ApiModelProperty(value = "被呼号码")
    private String calleeNumber;

    @ApiModelProperty(value = "是否系统自动发送")
    private Boolean automaticSend;

    @ApiModelProperty(value = "系统自动发送的延迟时间")
    private Long delaySeconds;

    @ApiModelProperty(value = "发单区域")
    private String areaIds;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedAt;
}
